import * as types from '../../mutation-types'

//mutations
export default {

    //初始化帖子内容
    //[types.UPDATE_TOPIC_AS_LIKED] (state) {
    //
    //    console.log(JSON.stringify(state))
    //    const recordIndex = _.findLastIndex(state.topic.list, function(obj){
    //        return state.current.topicId == obj.id
    //    })
    //
    //    if(recordIndex != -1){
    //        state.topic.list[recordIndex].visitorStatus.isLike = !state.topic.list[recordIndex].visitorStatus.isLike
    //    }
    //
    //},

}
